d9eb4a9bd7a83d1e51d936e838fdbc9d9bff933f,tests/other/org/jgroups/tests/UnicastTestRpc.java,UnicastTestRpc,invokeRpcs,#,223

Before Change


        if(sync) options.setFlags(Message.DONT_BUNDLE);
        if(oob) options.setFlags(Message.OOB);

        disp.callRemoteMethod(destination, new MethodCall((short)0, new Object[]{num_msgs}), options);
        options.setMode(sync? Request.GET_ALL : Request.GET_NONE);

        Invoker[] invokers=new Invoker[num_threads];

After Change


        if(oob) options.setFlags(Message.OOB);

        if(anycasting)
            disp.callRemoteMethods(anycast_mbrs, new MethodCall((short)0, new Object[]{num_msgs}), options);
        else
            disp.callRemoteMethod(destination, new MethodCall((short)0, new Object[]{num_msgs}), options);
        options.setMode(sync? Request.GET_ALL : Request.GET_NONE);

        Invoker[] invokers=new Invoker[num_threads];